<!DOCTYPE html>
<html>

	<head>
		<meta charset="utf-8" />
		<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
		<title></title>
		<link rel="stylesheet" href="__AGENT__/css/iconfont.css" />
		<link rel="stylesheet" href="__AGENT__/css/css.css" />
	</head>

	<body>
		{include file="public/header" /}
		<div class="index_conbox">
			<div class="index_content clearfix">
				{include file="public/lefter" /}
				<div class="right">
					<div class="rigtop">
						<span class="title">会员分组</span>
					</div>
					<div class="indrig_con huiyuan_con">
						<div class="zizh_menubox">
							<!--选项卡标题开始-->
							<ul class="clearfix">
								<li class="active" id="two1" onclick="setTab('two',1,2)">消费频次</li>
								<li id="two2" onclick="setTab('two',2,2)">消费能力</li>
							</ul>
						</div>
						<div class="zizh_conbox">
							<!--选项卡内容开始-->
							<div class="zizh_con_1" style="display:block;" id="con_two_1">
								<div class="hyfenz_btn">
								</div>
								<table class="zizh_table1">
									<thead>
										<tr>
											<th>消费频次等级</th>
											<th>需消费次数</th>
										</tr>
									</thead>
									<tbody id="tbody">
										{foreach name="list" item="vo1"}
										<tr>
											<td>{$vo1.name}</td>
											<td>{$vo1.nums}-{$vo1.nums2}</td>
										</tr>
										{/foreach}
										
									</tbody>
									
								</table>
							</div>
							<div class="zizh_con_2" style="display:none;" id="con_two_2">
								<div class="hyfenz_btn">
								</div>
								<table class="zizh_table1">
									<thead>
										<tr>
											<th>消费能力等级</th>
											<th>需消费金额</th>
										</tr>
									</thead>
									<tbody id="tbody">
										{foreach name="list1" item="vo"}
										<tr>
											<td>{$vo.name}</td>
											<td>{$vo.money}-{$vo.money2}</td>
										</tr>
										{/foreach}
									</tbody>
								</table>
							</div>
						</div>
					</div>
				</div>
			</div>
		</div>
		{include file="public/footer" /}
		<script>
			function setTab(name, cursel, n) {
				for(i = 1; i <= n; i++) {
					var menu = document.getElementById(name + i);
					var con = document.getElementById("con_" + name + "_" + i);
					menu.className = i == cursel ? "hover" : "";
					con.style.display = i == cursel ? "block" : "none";
				}
			}
		</script>
		<script type="text/javascript">
			function fenzu_setting() {
				layer.open({
					type: 2,
					title: '消费频次',
					shadeClose: true,
					shade: 0.8,
					area: ['360px', '240px'],
					content: "{:url('accounts/fenzu_setting')}"
				});
			}

			function fenzu_setting2() {
				layer.open({
					type: 2,
					title: '消费能力',
					shadeClose: true,
					shade: 0.8,
					area: ['360px', '240px'],
					content: "{:url('accounts/fenzu_setting2')}"
				});
			}
		</script>
	</body>

</html>